<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<html>
<head>
<title>驾校报名</title>
<script type="text/javascript" src="${path}/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="${path}/js/H-ui.js"></script>
<link href="${path}/css/H-ui.css" rel="stylesheet" type="text/css" />
<link href="${path}/css/font/font-awesome.min.css" rel="stylesheet"
	type="text/css" />
<link href="${path}/lib/iconfont/iconfont.css" rel="stylesheet"
	type="text/css" />

<style type="text/css">
</style>


</head>

<body>
	<nav class="breadcrumb">
		<i class="iconfont">&#xf012b;</i> 首页 <span class="c-gray en">&gt;</span>
		考试成绩 <span class="c-gray en">&gt;</span> 学员中心 <a
			class="btn btn-success radius r mr-20"
			style="line-height: 1.6em; margin-top: 3px"
			href="javascript:location.replace(location.href);" title="刷新"><i
			class="icon-refresh"></i></a>
	</nav>

	<div class="pd-20">
		<div class="text-c">
			<form action="${path }/goStudentList" method="post" id="dataForm">
				<input type="hidden" value="1" name="pageNow" id="pageNow">

				学员姓名： <input type="text" name="name" value="${student.name }"
					class="input-text" style="width: 320px;">
				<button name="" id="" class="btn btn-success" type="submit">
					<i class="icon-search"></i> 搜索
				</button>
			</form>
		</div>
		<div class="cl pd-5 bg-1 bk-gray mt-20">
			<span class="l"></span> <span class="r">共有数据：<strong>${pageVo.totalRecold }</strong>
				条
			</span>
		</div>
		<table
			class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<th width="10%">学员名称</th>
					<th width="10%">学员账号</th>
					<th width="10%">性别</th>
					<th width="10%">年龄</th>
					<th width="10%">身份证</th>
					<th width="10%">教练名称</th>
					<th width="10%">操作</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach var="item" items="${studentList}">
					<tr class="text-c">
						<td>${item.name}</td>
						<td>${item.account}</td>
						<td>${item.sex}</td>
						<td>${item.age}</td>
						<td>${item.idcard}</td>
						<td>${item.coach.name}</td>
						<td>
						<a class="btn btn-default" href="${path }/goEditGrade?id=${item.id}" ><i class="icon-asterisk" ></i> 设置成绩 </a>
						<a class="btn btn-default" href="${path }/delStudent?id=${item.id}"><i class="icon-trash" ></i> 删除 </a>
						</td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
		<jsp:include page="_pageNav.jsp"></jsp:include>
	</div>


	<script type="text/javascript">
		
	</script>

</body>

</html>